package com.hmys.api.mapper;

import com.hmys.api.model.WebAD;
import com.hmys.api.model.WebADPhoto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebADPhotoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebADPhoto record);

    int insertSelective(WebADPhoto record);

    WebADPhoto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebADPhoto record);

    int updateByPrimaryKey(WebADPhoto record);

    List<WebADPhoto> selectAllByBean(WebADPhoto record);
}